﻿using System;
using System.Collections.ObjectModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Neovolve.Extensibility.ReSharper.UnitTests
{
    /// <summary>
    /// This is a test class for CrefAttributeDescriptorTests and is intended
    /// to contain all CrefAttributeDescriptorTests Unit Tests
    /// </summary>
    [TestClass]
    public class CrefAttributeDescriptorTests
    {
        /// <summary>
        /// A test for CrefAttributeDescriptor Constructor
        /// </summary>
        [TestMethod]
        public void CrefAttributeDescriptorConstructorTest()
        {
            String value = String.Empty; // TODO: Initialize to an appropriate value
            CrefAttributeDescriptor target = new CrefAttributeDescriptor(value);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        /// A test for Item
        /// </summary>
        [TestMethod]
        public void ItemTest()
        {
            String value = String.Empty; // TODO: Initialize to an appropriate value
            CrefAttributeDescriptor target = new CrefAttributeDescriptor(value); // TODO: Initialize to an appropriate value
            Int32 index = 0; // TODO: Initialize to an appropriate value
            CrefAttributePart expected = new CrefAttributePart(); // TODO: Initialize to an appropriate value
            CrefAttributePart actual;
            target[index] = expected;
            actual = target[index];
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        /// A test for Length
        /// </summary>
        [TestMethod]
        public void LengthTest()
        {
            String value = String.Empty; // TODO: Initialize to an appropriate value
            CrefAttributeDescriptor target = new CrefAttributeDescriptor(value); // TODO: Initialize to an appropriate value
            Int32 actual;
            actual = target.Length;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        /// A test for ToString
        /// </summary>
        [TestMethod]
        public void ToStringTest()
        {
            String value = String.Empty; // TODO: Initialize to an appropriate value
            CrefAttributeDescriptor target = new CrefAttributeDescriptor(value); // TODO: Initialize to an appropriate value
            String expected = String.Empty; // TODO: Initialize to an appropriate value
            String actual;
            actual = target.ToString();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        /// A test for TypeReferences
        /// </summary>
        [TestMethod]
        public void TypeReferencesTest()
        {
            String value = String.Empty; // TODO: Initialize to an appropriate value
            CrefAttributeDescriptor target = new CrefAttributeDescriptor(value); // TODO: Initialize to an appropriate value
            ReadOnlyCollection<String> actual;
            actual = target.TypeReferences;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        /// Gets or sets the test context which provides
        /// information about and functionality for the current test run.
        /// </summary>
        public TestContext TestContext
        {
            get;
            set;
        }
    }
}